﻿using System.Runtime.Serialization;

namespace Pku.BookStore.Model
{
    /// <summary>
    /// 
    /// </summary>	
    [DataContract]
    public class FavoritesModel
    {
        #region props

        /// <summary>
        /// 收藏ID
        /// </summary>
        [DataMember]
        public int FavoritesID
        {
            get;
            set;
        }

        /// <summary>
        /// 图书ID
        /// </summary>
        [DataMember]
        public int BookID
        {
            get;
            set;
        }

        /// <summary>
        /// 用户ID
        /// </summary>
        [DataMember]
        public int UserID
        {
            get;
            set;
        }

        /// <summary>
        /// 图书名
        /// </summary>
        [DataMember]
        public string BookName
        {
            get;
            set;
        }

        /// <summary>
        /// 图书封面
        /// </summary>
        [DataMember]
        public string Image
        {
            get;
            set;
        }

        #endregion
    }

}

